package org.example.User;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emp {
    private Integer eid;
    private String ename;
    private double salary;
    private int did;
    private String job;

    public Emp(String ename, double salary, int did, String job) {
        this.ename = ename;
        this.salary = salary;
        this.did = did;
        this.job = job;
    }
}